import request from '@/utils/request'

export function updateLineChart(query) {
  console.log(query)
  return request({
    url: '/lineChart/getData',
    method: 'get',
    params: { query }
  })
}

export function fetchOptions() {
  return request({
    url: '/dataTable/options',
    method: 'post'
  })
}
